import math
n= 1230
max_=float('-inf')
min_=float('inf')
if n > max_:
        max_=n
if n < min_:
        min_=n
print(max_)
print(min_)
def r(n):
    if not n:
        return 0
    else:
        return(not int(n[0])%2)+r(n[1:])
print (r(n))
count=0
while(n>0):
    count=count+1
print('Кол-во цифр равна:',count)
sqrt_number=math.sqrt(input_number)
print(sqrt_number == int(sqrt_number))
